package com.it.whitejotterapi.entity;

/**
 * @Author: 羡羡
 * @Date: 2022/05/22/20:18
 */
public class AdminUser {
    public int id;
    public String username;
    public String password;
    public String name;
    public String phone;
    public String email;
    public int enabled;
    public int isDelete;
    public int identity;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    public AdminUser() {
    }

    public AdminUser(String username, String password, String name, String phone, String email, int enabled, int isDelete, int identity) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.enabled = enabled;
        this.isDelete = isDelete;
        this.identity = identity;
    }

    public AdminUser(int id, String username, String password, String name, String phone, String email, int enabled, int isDelete, int identity) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.enabled = enabled;
        this.isDelete = isDelete;
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "AdminUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", enabled=" + enabled +
                ", isDelete=" + isDelete +
                ", identity=" + identity +
                '}';
    }
}
